"""

@name:python学习
@author:yuki
@projectname:起步

"""
lst={'root':'123456','admin':'admin'}
while True:
    print("欢迎使用用户检测系统")
    user_name = input("输入quit退出系统\npleas input your name: ")
    if user_name == "quit":
        print("系统结束，欢迎下次使用")
        break
    password=(input("please input your password: "))
    if password == lst.get(user_name):
        print("验证成功")
    else:
        print("验证失败")